#ifndef SONARSENSOR_H
#define SONARSENSOR_H

#include "WPILib.h"


class SonarSensor
{
public:
	SonarSensor(uint32_t port, uint8_t moduleNumber);
	virtual ~SonarSensor();
	double GetDistanceInInches();
	bool AtMaxDistance();
	
private:
	uint32_t m_port;
	uint8_t m_moduleNumber;
	
};

#endif
